import Layout from '../views/layout/Layout'
const _import = require('./_import_' + process.env.NODE_ENV)

const AreaMenu = {
  path: '/area',
  component: Layout,
  name: '行政区域',
  meta: {
    title: '行政区域',
    icon: 'chart'
  },
  icon: 'chart',
  authority: 'area',
  children: [
    {
      path: 'areaManager',
      component: _import('crm/area/index'),
      name: '行政区域',
      meta: {
        title: '行政区域',
        icon: 'tab'
      },
      authority: 'areaManager'
    }]
}

export default AreaMenu
